package com.dsl.dslsuzhou.engine;

import lombok.Data;

import java.util.List;

/**
 * 构建的SQL及参数
 */
@Data
public class BuiltSql {
    
    /**
     * SQL语句
     */
    private String sql;
    
    /**
     * 参数列表
     */
    private List<Object> parameters;
    
    public BuiltSql() {}
    
    public BuiltSql(String sql, List<Object> parameters) {
        this.sql = sql;
        this.parameters = parameters;
    }
}
